package com.example.admin.coolweather.util;

import android.app.DownloadManager;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.example.admin.coolweather.R;

public class HttpUtil{

    protected static void sendOkHttpRequest(String address,okhttp3.Callback callback) {
          OkHttpClient client=new OkHttpClient();
        Request request=new Request.Builder().url(address).build();
        client.newCall(request).enqueue(Callback);
    }
}
